<!DOCTYPE html>
<html lang="zh-cn">

	<head>
		<title>搜索 {$keyword}—{$site_name} </title>
		<meta name="keywords" content="{$keyword} " />
		<meta name="description" content="{$keyword}{$site_name} ">
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
		<tc_include file="Public:head" />
	</head>

	<body>

		<tc_include file="Public:nav" />
		<tc_include file="Public:banner" />
		<br />
		<php>
			$result=sp_sql_posts_paged_bykeyword($keyword,"",20); $pager=$result['page'];
		</php>
		<div class="container pajax">
			<div class="">
				<ul class="bread">
					<h4>
					<li><a href="/" class="icon-home"> 首页</a> </li>					
					<li><a href="#">'{$keyword}' 搜索{$result['count']|default="0"}条结果</a></li>
					
					</h4>
				</ul>
			</div>
			<div class="line-big">
				<div class="xl12 xm8">
					<div class="line-small">
						<div class="xs12">

							<foreach name="result['posts']" item="vo">
								<php>
									$smeta=json_decode($vo['smeta'],true); $term=sp_get_term($vo['term_id'] );

								</php>

								<div class="clearfix articlebox">
									<div class="detail_a">
										<div class="said_time">
											<span style="margin: 0 6px;font-size: 19px;">标题：<a href="{:leuu('article/index',array('id'=>$vo['tid']))}" style="font-size: 16px;font-weight: bold;letter-spacing: 1px;">{$vo.post_title}</a>		
											</span>
											<span class="icon-paper-plane"></span>&nbsp;{:date('Y年m月d日',strtotime($vo['post_date']))}&nbsp;&nbsp;
											<span class="tag bg-dot">{$term['name']}</span>&nbsp;&nbsp;<span class="icon-map-marker"></span>&nbsp;作者：{$vo.user_nicename}
										</div>
									</div>
									<div class="said_img">
										<img src="{:sp_get_asset_upload_path($smeta['thumb'])}" data-toggle="hover" data-place="right" title="" class="radius-circle tips" width="60px" height="60px">
										<div class="said_c">
											<a href="{:leuu('article/index',array('id'=>$vo['tid']))}">{$vo.post_excerpt }</a>
										</div>
									</div>
								</div>
								<br />
								<br />
							</foreach>
							<br />
							<br />
						</div>
						<hr />
					</div>
					<br />
					<div class="pagination  pagination-group">
						{$pager}
					</div>
					<br />
					<br />
				</div>
				<tc_include file="Public:slide" />
			</div>
		</div>
		<tc_include file="Public:footer" />
	
	</body>

</html>